package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.User;

import java.util.List;

public interface UserManagerService {
    public void add(User user, Integer[] roleIds);
    public PageResult queryPage(QueryPageBean queryPageBean) ;
    public void delete(Integer id);
    public User findById(Integer id);
    public List<Integer> findRoleIdByUserId(Integer id);
    public void edit(User user, Integer[] roleIds);
}
